package com.webbei.Backstage.action;

import java.util.List;

import com.webbei.Backstage.service.BackstateSer;
import com.webbei.pojo.BgPic;

public class getAllPicByProductIdAction {
			private BackstateSer bao;
			private int productId;
			private List<BgPic> pic;
			public String execute(){
				pic=bao.getBgPicByProductId(productId);
				System.out.println(pic.toString());
				return "success";
			}
			public void setBao(BackstateSer bao) {
				this.bao = bao;
			}
			public int getProductId() {
				return productId;
			}
			public void setProductId(int productId) {
				this.productId = productId;
			}
			public List<BgPic> getPic() {
				return pic;
			}
			public void setPic(List<BgPic> pic) {
				this.pic = pic;
			}
			
			
}
